<?php

$from_name = "Acuityworld";
$from_email = "admin@Acuityworld.com";
$to_name = $webmaster_name;
$to_email = $webmaster_email;
$subject = "Webshop Order Notification - to Administrator (English)";

$content = <<<EOT
<html>
<head>
<title>Acuity World WebShop</title>
<meta http-equiv=Content-Type content=text/html; charset=iso-8859-1>
<link href="{$WEB_URL}{$paymentBOX['path']}css/mail.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor=#FFFFFF text=#000000 leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>
<p>&nbsp;</p>
<table width=538 height=573  border=0 align=center>
  <tr>
    <td width=532 height=569 valign=top><p class="en_black_12">Dear Administrator,</p>
      <p class="en_black_12">Here we have received the following purchase order from the promoter  via our webshop.</p>
      <table width="100%" border="0" cellpadding="0" class="en_black_12">
        <tr>
          <td><p><br>
            </p></td>
          <td valign="top"></td>
        </tr>
        <tr>
          <td valign="top"><p><strong>Order no. :</strong></p></td>
          <td><p>{$orderid}</p></td>
        </tr>
        <tr>
          <td valign="top"><p><strong>Date of purchase :</strong></p></td>
          <td><p>{$day}</p></td>
        </tr>
        <tr>
          <td><p><br>
            </p></td>
          <td valign="top"></td>
        </tr>
        <tr>
          <td valign="top"><p><strong>Promoter's Personal Information :</strong></p></td>
          <td></td>
        </tr>
        <tr>
          <td valign="top"><p><strong>Promoter's Id :</strong></p></td>
          <td><p>{$userid}</p></td>
        </tr>       
		<tr>
          <td valign="top"><p><strong>Promoter's name :</strong></p></td>
          <td><p>{$username}</p></td>
        </tr>
        <tr>
          <td valign="top"><p><strong>Promoter's address :</strong></p></td>
          <td><p>{$customaddress}</p></td>
        </tr>
        <tr>
          <td valign="top"><p><strong>Promoter's phone :</strong></p></td>
          <td><p>{$phone}</p></td>
        </tr>
        <tr>
          <td valign="top"><p><strong>Promoter's mobile :</strong></p></td>
          <td><p>{$mobile}</p></td>
        </tr>
        <tr>
          <td valign="top"><p><strong>Promoter's email :</strong></p></td>
          <td><p>{$day}</p></td>
        </tr>
        <tr>
          <td><p><br>
            </p></td>
          <td valign="top"></td>
        </tr>
        <tr>
          <td valign="top"><p><strong>Purchase items :</strong></p></td>
          <td></td>
        </tr>
        <tr>
          <td colspan=2>
          <table  width="100%" border="1" cellpadding="3" cellspacing="1" class="en_black_12">
              <tr>
            	<td> <div align="left"><strong>Name</strong></div></td>
            	<td> <div align="left"><strong>Price</strong></div></td>
            	<td> <div align="left"><strong>Quantity</strong></div></td>
            	<td> <div align="left"><strong>Total(DKK)</strong></div></td>
              </tr>              
              {$cart_list}
            </table>          </td>
        </tr>
        <tr>
          <td><p><br>
            </p></td>
          <td valign="top"></td>
        </tr>
        <tr>
          <td valign="top"><p><strong>Delivery Address :</strong></p></td>
          <td></td>
        </tr>
        <tr>
          <td><p>{$deliveryaddress}</p></td>
          <td valign="top"></td>
        </tr>
        <tr>
          <td><p><br>
            </p></td>
          <td valign="top"></td>
        </tr>
        <tr>
          <td><p><br>
          </p></td>
          <td valign="top"></td>
        </tr>
      </table>
      <p>&nbsp;</p>
      <p class="en_black_12"> Action to be done:  (Pls. tick the box and fill in date of completion when action is done) <br>
        <br>
        [   ]  Send products to Promoter on <br>&nbsp;&nbsp;&nbsp;&nbsp;(date: _________)<br>
        [   ]  Update info-connector database & reserve seat of the course <br>&nbsp;&nbsp;&nbsp;&nbsp;(date: __________)<br>
        [   ]  Proceed payment procedure & payment is done on <br>&nbsp;&nbsp;&nbsp;&nbsp;(date: ___________)<br>
        [   ]  Update products & stock status <br>&nbsp;&nbsp;&nbsp;&nbsp;(date:______________)<br>
        [   ]  Update the webshop CMS system about order completion <br>&nbsp;&nbsp;&nbsp;&nbsp;(date:__________)<br>
        [   ]  Check if the commission of the promoter is correct <br>&nbsp;&nbsp;&nbsp;&nbsp;(date:____________) <br>
        <br>
      <p class="en_black_12">And then keep this in file.  Thanks!<br>
        <br>
      <p class="en_black_12">Acuity World Webshop<br>
        <br>
    </td>
  </tr>
</table>
</body>
</html>

EOT;

?>